class Gasto < ActiveRecord::Base
  validates_presence_of :instructor_id, :monto, :egreso_id
  validates_numericality_of :monto, :integer=>false
  validates_length_of :desc, :maximum=>100
  
  belongs_to :egreso
end